#ifndef SHOWDATAWIDGET_H
#define SHOWDATAWIDGET_H
#include <QWidget>
#include <QListWidget>
#include <QPushButton>
#include <QLabel>
#include <QVBoxLayout>
#include <QGridLayout>
#include <QHBoxLayout>
#include <QSqlQuery>


class ShowDataWidget : public QWidget
{
    Q_OBJECT
public:
    explicit ShowDataWidget(QWidget *parent = 0);
private:
    QLabel* titleLabel;
    QListWidget* idListWidget;
    QListWidget* nameListWidget;
    QListWidget* factoryListWidget;
    QListWidget* priceListWidget;
    QListWidget* sumListWidget;
    QListWidget* sellListWidget;
    QListWidget* lastListWidget;
    QPushButton* updateButton;
private slots:
    void showListWidget();
};

#endif // SHOWDATAWIDGET_H
